Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Options.​PostConfigureOptions<​TOptions, TDep1, TDep2, TDep3, TDep4>

Assembly: Microsoft.Extensions.Options

Inheritance: object → PostConfigureOptions

Implemented Interfaces

Implementation of <see cref="T:Microsoft.Extensions.Options.IPostConfigureOptions`1" /> .

Properties

public System.​Action<​TOptions, TDep1, TDep2, TDep3, TDep4>
Action
Gets the configuration action.
public TDep1
Dependency1
Gets the first dependency.
public TDep2
Dependency2
Gets the second dependency.
public TDep3
Dependency3
Gets the third dependency.
public TDep4
Dependency4
Gets the fourth dependency.
public string
Name
Gets the options name.

Methods

public void
PostConfigure​(string name, TOptions options)
Invokes the registered initialization <see cref="P:Microsoft.Extensions.Options.PostConfigureOptions`5.Action" /> if the <paramref name="name" /> matches.
name The name of the options instance being configured.
options The options instance to configured.
public void
PostConfigure​(TOptions options)
Configures a <typeparamref name="TOptions" /> instance using the <see cref="F:Microsoft.Extensions.Options.Options.DefaultName" /> .
options The options instance to configured.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object